﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="TraCuuHoSo.aspx.cs" Inherits="Modules_TraCuuHoSo" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="content-holder">
        <div class="div-content">
            <div style="float: right; margin-bottom: 0px; clear: both; padding: 5px 0px 5px 0px;
                padding-left: -2px; border: 0px solid #CDCDCD; height: 35px; width: 997px;">
                <table style="float: right;">
                    <tr>
                        <td>
                            <asp:TextBox ID="txtSearchProfile" runat="server" Width="200px" Height="20px"></asp:TextBox>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Button CssClass="button-primary" ID="btnSearch" runat="server" Text="Tìm kiếm"
                                Width="125px" Height="30px" OnClick="btnSearch_Click" />
                        </td>
                    </tr>
                </table>
            </div>
            <div class="div-search">
                <div class="div-title-content">
                    Danh sách hồ sơ
                </div>
            </div>
        </div>
        <div style="width: auto; height: auto; clear: both;">
            <table style="width: 100%; background-color: #ddd;" cellspacing="1" class="repeater-hover">
                <tr class="tr-header">
                    <td>
                        STT
                    </td>
                    <td>
                        Mã hồ sơ
                    </td>
                    <td>
                        Dịch vụ đăng ký
                    </td>
                    <td>
                        Người nộp HS
                    </td>
                    <td>
                        Ngày nộp HS
                    </td>
                    <td>
                        Phòng ban xử lý
                    </td>
                    <td>
                        Ngày chuyển
                    </td>
                    <td>
                        Thao tác
                    </td>
                </tr>
                <asp:Repeater runat="server" ID="rptHoSo">
                    <ItemTemplate>
                        <tr>
                            <td>
                                <%#  Container.ItemIndex + start+1  %>
                            </td>
                            <td>
                                    <%# Eval("ProfileCode")%>
                            </td>
                            <td>
                                <%# Eval("ServiceName")%>
                            </td>
                            <td>
                                <%# Eval("SubscriberName")%>
                            </td>
                            <td>
                                <%# Eval("RegDate", "{0:dd/MM/yyyy}")%>
                            </td>
                            <td>
                                <%# Eval("DeptName")%>
                            </td>
                            <td>
                                <%# Eval("MoveToDepartment", "{0:dd/MM/yyyy}")%>
                            </td>
                            <td>
                                <a href="../Modules/XuLyHS.aspx?id=<%# Eval("ID") %>" title="Xem chi tiết">Xem</a>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
                <% if (rptHoSo.Items.Count == 0)
                   { %>
                <tr>
                    <td colspan="8">
                        <div class="empty-list">
                            Hiện tại chưa có dữ liệu...</div>
                    </td>
                </tr>
                <% } %>
            </table>
        </div>
        <div style="overflow: hidden;">
            <div id="divPagination" runat="server">
                <div id="pagination">
                    <webdiyer:AspNetPager runat="server" ID="AspNetPager1" HorizontalAlign="Center" PagingButtonSpacing="8px"
                        CssClass="tsc_pagination tsc_paginationA tsc_paginationA01" UrlPaging="false"
                        PrevNextButtonsClass="previous" Width="100%" PagingButtonType="Text" NumericButtonType="Text"
                        FirstPageText="Trang đầu" LastPageText="Trang cuối" NextPageText="Sau" PrevPageText="Trước"
                        ShowMoreButtons="true" NavigationButtonType="Text" ButtonImageExtension="gif"
                        ButtonImageNameExtension="n" ShowCustomInfoSection="Never" DisabledButtonImageNameExtension="g"
                        ShowNavigationToolTip="true" UrlPageIndexName="p" OnPageChanged="AspNetPager1_PageChanged">
                    </webdiyer:AspNetPager>
                </div>
            </div>
            <%-- <asp:Repeater ID="rptPages" runat="server" OnItemCommand="rptPages_ItemCommand">
                <ItemTemplate>
                    <asp:LinkButton ID="btnPage" Style="padding: 1px 3px; margin: 1px; background: #ccc;
                        border: solid 1px #666; font: 8pt tahoma;" CommandName="Page" CommandArgument="<%# Container.DataItem %>"
                        runat="server"><%# Container.DataItem %>
                    </asp:LinkButton>
                </ItemTemplate>
            </asp:Repeater>--%>
        </div>
    </div>
</asp:Content>
